
<div class="tableform">
	<form
		action='index.php?app=yswarranty&ctl=admin_mywarranty&act=do_upload_validtwarranty'
		method='post' target="uploadframe" enctype="multipart/form-data"
		id="form-uploadwarranty">

		<h3><{t}>有效保證書編號匯入(待實作)<{/t}></h3>
		<div class="span-auto">
			<i class="fontcolorBlue f-20">3<i class="fontcolorGray">&raquo;&raquo;</i></i>
		</div>
		<div class="span-auto">


			<h4><{t}>上传.xlsx文件<{/t}></h4>
			<div class="division">
				<input name="finder_id" type="hidden" value="<{$env.get.finder_id}>" />
				<input type='file' name='import_file' />
			</div>
			<div class="table-action">
			<{button label=$___desktop="导入"|t:'desktop' type="submit" class="btn-primary"}></div>

		</div>

	</form>
</div>

<script>
	var specForm = $('form-uploadwarranty');
	var finder = finderGroup['<{$env.get.finder_id}>'];
	var _instancedlg = $('form-uploadwarranty').getParent('.dialog').retrieve('instance');

	function __doUploadWarrantyDialogClose() {
		_instancedlg.close();
		finder.refresh.delay(200, finder);
	};
</script>